/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2014-2019.
 * Description: header for kbox proc fs interface
 * Author: lichaoyue
 * Create: 2014-3-24
 */

#ifndef _KBOX_PROC_H
#define _KBOX_PROC_H

#include <linux/ioctl.h>
#include <linux/cdev.h>

#define KBOX_PROC_NAME			"kbox"
#define KBOX_PROC_NAME_EREASE	"erasure"
#define KBOX_PROC_NAME_REGION	"regions"
#define KBOX_PROC_NAME_DEVINFO	"deviceinfo"
#define KBOX_PROC_NAME_MEM		"mem"

extern struct proc_dir_entry *kbox_proc_regions;

extern const struct proc_ops kbox_proc_file_operations;
extern int	kbox_proc_init(void);
extern void	kbox_proc_fini(void);

extern bool use_vmalloc;
#endif
